<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="/fuman/js/oversea.js"></script>
<title>商品报表</title>
<body class="withvernav">
<div class="bodywrapper"> {{include file='/public/leftmenu.tpl'}}
  <div class="centercontent">
    <div class="pageheader notab">
      <h1 class="pagetitle">查看商品报表</h1>
      <span class="pagedesc"></span>
      <div class="menulist">
        <ul class="profile_summary">
          <li class="current"></li>
        </ul>
      </div>
    </div>
    <!--pageheader-->
    
    <div id="contentwrapper" class="contentwrapper">
      <div id="basicform" class="subcontent">
        <form class="stdform stdform2"  id="theFrom" method="post" action="/oversea/savecompare">
        
         <div class="contenttitle2">
            <h3>基本信息</h3>
          </div>
             <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
          
            <thead>
              <tr>
                <th class="head1">SKU</th>
                <th class="head1">商品名</th>
                <th class="head1">入库日期</th>
                <th class="head1">30天销量</th>
                <th class="head1">60天销量</th>
                <th class="head1">90天销量</th>
                <th class="head1">库存数</th>
                <th class="head1">是否清仓</th>
                <th class="head1">是否清算完毕</th>
                 <th class="head1">开发人</th>
                 {{if $detail.zhixiaotime !=""}}<th class="head1">滞销结算时间</th>{{/if}}
                  {{if $detail.zhixiaonum >0}}<th class="head1">滞销当日库存</th>{{/if}}
                   {{if $detail.xiaoliang >0}}<th class="head1">6个月内销量</th>{{/if}}
           
              </tr>
            </thead>
            <tbody>
            
           
            <tr>
              <td class="head1">{{$detail.sku}}</td>
              <td class="head0">{{$detail.name}}</td>
              <td class="center">{{$detail.tbopertime}}</td>
              <td class="center">{{$threedaysale}}</td>
              <td class="center">{{$daysale}}</td>
              <td class="center">{{$jiudaysale}}</td>
               <td class="center">{{$res->SAVENUM}}</td>
               <td class="center">{{if $detail.status==2}}清仓{{else}}正常{{/if}}</td>
               <td class="center">{{if $detail.isqs==0}}未清算{{else}}已清算{{/if}}</td>
               <td class="center">{{$detail.createUser}}</td>
                {{if $detail.zhixiaotime !=""}}<td class="center"> {{$detail.zhixiaotime}}</td>{{/if}}
                 {{if $detail.zhixiaonum>0}}<td class="center"> {{$detail.zhixiaonum}}</td>{{/if}}
                  {{if $detail.xiaoliang>0}}<td class="center"> {{$detail.xiaoliang}}</td>{{/if}}
            </tr>
              </tbody>
            
          </table>
          
          
          <div class="contenttitle2">
            <h3>清算信息</h3>
           
          </div>
      <div id="basicform" class="subcontent">
          <p>
            <label>入库日</label>
            <span class="field"> {{$detail.tbopertime}}到{{$startime}} </span> </p>
            <p>
            <label>3个月单品累计数量</label>
            <span class="field"> {{$allnums}} </span> </p>
             <p>
            <label>活动价格</label>
            <span class="field"> {{$Activityprice}} </span> </p>
              <p>
            <label>成本</label>
            <span class="field"> {{$detail.costprice}} </span> </p>
              <p>
            <label>总计</label>
            <span class="field"> <font color="#FF0000"><B>{{$amount}}</B></font> </span> </p>
            
            
           
            
           
            
          </div>
          <br>
          <table cellpadding="0" cellspacing="0" border="0" class="stdtable">
            <colgroup>
            <col class="con1" />
            <col class="con0" />
            <col class="con1" />
            <col class="con0" />
            <col class="con1" />
            <col class="con0" />
            <col class="con1" />
            </colgroup>
            <thead>
              <tr>
                <th class="head0">订单号</th>
                <th class="head1">订单总金额</th>
                <th class="head0">店铺</th>
                <th class="head1">订单时间</th>
                <th class="head0">数量</th>
              </tr>
            </thead>
            <tbody>
            
            {{foreach from=$qsorder item=li key=key}}
            <tr>
              <td>{{$li.order_sn}}&nbsp;&nbsp;&nbsp;<a href="/orderlist/editorder?order_id={{$li.order_id}}" target="_blank"><img src="/fuman/images/icons/attachment.png"></a></td>
              <td>{{$li.goods_amount}}</td>
              <td>{{$li.shopname}}</td>
              <td>{{$li.OPERTIMEst}}</td>
              <td>{{$li.goods_number}}</td>
            </tr>
            {{/foreach}}
              </tbody>
            
          </table>
         
        </form>
        <br />
      </div>
      <!--subcontent--> 
      
      <!--subcontent--> 
      
    </div>
    <!--contentwrapper--> 
    
  </div>
  <!-- centercontent --> 
  
</div>

</body>
</html>